import routerView from "@/components/pubComp/routerView.vue";
const pre = "eshop-";
export default {
  path: "/eshop",
  name: "eshop",
  meta: {
    title: "商品选购",
  },
  redirect: {
    name: `${pre}goodsChoose`,
  },
  component: routerView,
  children: [
    {
      path: "goodsChoose",
      name: `${pre}goodsChoose`,
      meta: {
        title: "商品选购",
        closable: false,
      },
      component: () => import("@/views/srvAssurance/eshop/goodsChoose"),
    },
    {
      path: "goodsList",
      name: `${pre}goodsList`,
      meta: {
        title: "商品列表",
        closable: false,
      },
      component: () => import("@/views/srvAssurance/eshop/goodsChoose/goodsList"),
    },
    {
      path: "goodsCar",
      name: `${pre}goodsCar`,
      meta: {
        title: "商品购物车",
        closable: false,
      },
      component: () => import("@/views/srvAssurance/eshop/goodsCar"),
    },
    {
      path: "goodsOrder",
      name: `${pre}goodsOrder`,
      meta: {
        title: "商品订单",
        closable: false,
      },
      component: () => import("@/views/srvAssurance/eshop/goodsOrder"),
    },
    {
      path: "goodsCollect",
      name: `${pre}goodsCollect`,
      meta: {
        title: "商品收藏",
        closable: false,
      },
      component: () => import("@/views/srvAssurance/eshop/goodsCollect"),
    },
    {
      path: "goodsAppraise",
      name: `${pre}goodsAppraise`,
      meta: {
        title: "我的评价",
        closable: false,
      },
      component: () => import("@/views/srvAssurance/eshop/goodsAppraise"),
    },
  ],
};
